let roles = {
  mobile: [
    {
      path: "/mobile",
      name: "mobile",
      meta: "移动端组件",
      redirect: "/mobile/form/formTemplates",
      component: "Home/index.vue",
      children: [
        {
          path: "form",
          name: "form",
          meta: "表单",
          redirect: "/mobile/form/formTemplates",
          component: "",
          children: [
            {
              path: "formTemplates",
              name: "formTemplates",
              meta: "表单模板",
              redirect: "",
              component: "Mobile/index.vue",
            },
            {
              path: "checkBox",
              name: "checkBox",
              meta: "复选框",
              redirect: "",
              component: "Mobile/form/checkBox.vue",
            },
            {
              path: "agreement",
              name: "agreement",
              meta: "管理",
              redirect: "",
              component: "Mobile/form/agreement.vue",
            },
            {
              path: "dataRangeDemo",
              name: "dataRangeDemo",
              meta: "日期范围选择",
              redirect: "",
              component: "Mobile/form/dataRangeDemo.vue",
            },
            {
              path: "datePickerDemo",
              name: "datePickerDemo",
              meta: "下拉框选择器",
              redirect: "",
              component: "Mobile/form/datePickerDemo.vue",
            },
            {
              path: "imagesPreview",
              name: "imagesPreview",
              meta: "图片预览",
              redirect: "",
              component: "Mobile/form/imagesPreview.vue",
            },
            {
              path: "imageUpload",
              name: "imageUpload",
              meta: "图片上传",
              redirect: "",
              component: "Mobile/form/imageUpload.vue",
            },
            {
              path: "selectDemo",
              name: "selectDemo",
              meta: "选择器",
              redirect: "",
              component: "Mobile/form/selectDemo.vue",
            },
            {
              path: "detailPage",
              name: "detailPage",
              meta: "详情组件",
              redirect: "",
              component: "Mobile/form/detailPage.vue",
            },
            {
              path: "mapAddress",
              name: "mapAddress",
              meta: "地图定位样式组件",
              redirect: "",
              component: "Mobile/form/mapAddress.vue",
            },
            {
              path: "selectorList",
              name: "selectorList",
              meta: "地图定位样式组件",
              redirect: "",
              component: "Mobile/form/selectorList.vue",
            },{
              path: "textFiles",
              name: "textFiles",
              meta: "文本域组件",
              redirect: "",
              component: "Mobile/form/textFiles.vue",
            },{
              path: "modal",
              name: "modal",
              meta: "弹出框组件",
              redirect: "",
              component: "Mobile/form/modal.vue",
            },
          ],
        },
      ],
    },
  ],
  pcdocument:[
    {
      path: "/pcdocument",
      name: "pcdocument",
      meta: "pc端组件",
      redirect: "/pcdocument/table",
      component: "Home/index.vue",
      children:[
        {
          path: "table",
          name: "table",
          meta: "表格",
          redirect: "",
          component: "pcDocument/table/index.vue",
          components:import("@/views/pcDocument/table/index.vue")
        },
        {
          path: "add",
          name: "add",
          meta: "新增模板不带地图",
          redirect: "",
          component: "pcDocument/addNorm/index.vue",
          components:import("@/views/pcDocument/addNorm/index.vue")
        }
        , {
          path: "mapNorm",
          name: "mapNorm",
          meta: "地图",
          redirect: "",
          component: "pcDocument/mapNorm/index.vue",
          components:import("@/views/pcDocument/mapNorm/index.vue")
        }
        , {
          path: "addPage",
          name: "addPage",
          meta: "新增模板",
          redirect: "",
          component: "pcDocument/addPage.vue",
          components:import("@/views/pcDocument/addPage.vue")
        },   {
          path: "addNorm",
          name: "addNorm",
          meta: "新增模板不带地图",
          redirect: "",
          component: "pcDocument/addNorm.vue",
          components:import("@/views/pcDocument/addNorm.vue")
        },{
          path: "menu",
          name: "menu",
          meta: "菜单",
          redirect: "",
          component: "pcDocument/menu/index.vue",
          components:import("@/views/pcDocument/menu/index.vue")
        } ,{
          path: "menutabs",
          name: "menutabs",
          meta: "菜单Tabs切换",
          redirect: "",
          component: "pcDocument/meunTabs/index.vue",
          components:import("@/views/pcDocument/meunTabs/index.vue")
        }
        ,{
          path: "timeline",
          name: "timeline",
          meta: "时间轴",
          redirect: "",
          component: "pcDocument/timeline/index.vue",
          components:import("@/views/pcDocument/timeline/index.vue")
        },{
          path: "fileUpload",
          name: "fileUpload",
          meta: "文件上传",
          component: "pcDocument/fileUpload/index.vue",
          redirect: "",
          components:import("@/views/pcDocument/fileUpload/index.vue")

        },{
          path: "imageUpload",
          name: "imageUpload",
          meta: "图片上传",
          component: "pcDocument/imageUpload/index.vue",
          redirect: "",
          components:import("@/views/pcDocument/imageUpload/index.vue")
        },{
          path: "treeDome",
          name: "treeDome",
          meta: "树",
          component: "pcDocument/treeDome/index.vue",
          redirect: "",
          components:import("@/views/pcDocument/treeDome/index.vue")
        },{
          path: "sliderPage",
          name: "sliderPage",
          meta: "滑块组件",
          component: "pcDocument/sliderPage/index.vue",
          redirect: "",
          components:import("@/views/pcDocument/sliderPage/index.vue")
        },{
          path: "tableDemo",
          name: "tableDemo",
          meta: "表格模板",
          component: "pcDocument/tableDemo/index.vue",
          redirect: "",
          components:import("@/views/pcDocument/tableDemo/index.vue")
        },{
          path: "detail",
          name: "detail",
          meta: "详情模板",
          component: "pcDocument/detail/index.vue",
          redirect: "",
          components:import("@/views/pcDocument/detail/index.vue")
        },
      ]
    }
  ]
};
export default roles;
